runtime.mheap.sweepgen (field)
24 uses
runtime (current package)
arena.go#L977: h.central[spc].mcentral.fullSwept(h.sweepgen).push(s)
mcache.go#L90: c.flushGen.Store(mheap_.sweepgen)
mcache.go#L156: if s.sweepgen != mheap_.sweepgen+3 {
mcache.go#L193: s.sweepgen = mheap_.sweepgen + 3
mcache.go#L253: mheap_.central[spc].mcentral.fullSwept(mheap_.sweepgen).push(s)
mcache.go#L264: sg := mheap_.sweepgen
mcache.go#L320: sg := mheap_.sweepgen
mcache.go#L330: c.flushGen.Store(mheap_.sweepgen) // Synchronizes with gcStart
mcentral.go#L110: sg := mheap_.sweepgen
mcentral.go#L201: sg := mheap_.sweepgen
mgc.go#L661: if fg := p.mcache.flushGen.Load(); fg != mheap_.sweepgen {
mgc.go#L662: println("runtime: p", p.id, "flushGen", fg, "!= sweepgen", mheap_.sweepgen)
mgc.go#L1554: mheap_.sweepgen += 2
mgcmark.go#L333: sg := mheap_.sweepgen
mgcsweep.go#L100: sg := h.sweepgen
mgcsweep.go#L155: return sweepLocker{mheap_.sweepgen, false}
mgcsweep.go#L158: return sweepLocker{mheap_.sweepgen, true}
mgcsweep.go#L166: if sl.sweepGen != mheap_.sweepgen {
mgcsweep.go#L256: sg := mheap_.sweepgen
mgcsweep.go#L517: sweepgen := mheap_.sweepgen
mheap.go#L70: sweepgen uint32 // sweep generation, see comment in mspan; written during STW
mheap.go#L1418: atomic.Store(&s.sweepgen, h.sweepgen)
mheap.go#L1603: if s.allocCount != 0 || s.sweepgen != h.sweepgen {
mheap.go#L1604: print("mheap.freeSpanLocked - span ", s, " ptr ", hex(s.base()), " allocCount ", s.allocCount, " sweepgen ", s.sweepgen, "/", h.sweepgen, "\n")
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |